<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
        *{
            font-size: 14px;
        }
        #ord{
            margin-top: 20px;
        }
        table{
            width:100%;
            margin: auto;
            text-align: center;
            background: #fff;
        }
        th{
            background:rgb(18,162,225);
            color: #fff;
        }
        td{
            padding: 5px ;
            background: #ccc;
        }
    </style>
</head>
<body>
<div id="ord">
<table cellspacing="1">
    <tr>
        <th rowspan="2">下单时间</th>
        <th rowspan="2">渠道</th>
        <th rowspan="2">运单号</th>
        <th rowspan="2">国际单号</th>
        <th rowspan="2">目的国</th>
        <th rowspan="2">品名</th>
        <th rowspan="2">包裹件数</th>
        <th rowspan="2">计费重量(kg)</th>
        <th colspan="3">体积</th>
        <th rowspan="2"> 预算费用(￥)</th>
        <th rowspan="2">是否付款</th>
        <th rowspan="2">备注</th>
        <th rowspan="2">订单状态</th>
        <th rowspan="2">操作</th>
    </tr>
    <tr>
        <th>长</th>
        <th>宽</th>
        <th>高</th>
    </tr>
    <foreach name="data" item="value">
        <tr>
            <td><!--{$value['ord_time']}--></td>
            <td><!--{$value['company']}--></td>
            <td><!--{$value['way']}--></td>
            <if condition="$value['transit'] == false">
                <td>未转运</td>
                <else/>
                <td><!--{$value['transit']}--></td>
            </if>
            <td><!--{$value['cname']}-->&nbsp;&nbsp;<!--{$value['ename']}--></td>
            <td><!--{$value['g_cname']}--></td>
            <td><!--{$value['piece_num']}--></td>
            <td><!--{$value['weight']}--></td>
            <td colspan="3"><!--{$value['volume']}--></td>
            <td><!--{$value['money']}--></td>
            <if condition="$value['ord_status'] ==1">
                <td>已付款</td>
                <else/>
                <td>未付款</td>
            </if>
            <td><!--{$value['remarks']}--></td>
            <if condition="$value['statu'] ==false">
                <td></td>
                <else/>
                <td><!--{$value['statu']}--></td>
            </if>
            <td>
                <if condition="$value['cancel']==1">
                    <s>运单已取消</s>
                    <else/>
                    <a onclick="return ConfirmDel();" href="/personage/ord_cancel/nid/<!--{$value['order_id']}-->">取消运单</a>
                </if>
            </td>
        </tr>
    </foreach>
    <tr>
        <td colspan="16"></td>
    </tr>
</table>
</div>
</body>
</html>